﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Windows.Data;
using System.Globalization;

namespace DiagramDesigner
{
    // Either you can use Debugger.Break() or put a break point
    // in your converter, inorder to step into the debugger.
    // Personally I like Debugger.Break() as I often use
    // the "Delete All Breakpoints" function in Visual Studio.
    public class DebugConverter : IValueConverter
    {
        public object Convert(object value, Type targetType,
               object parameter, CultureInfo culture)
        {
            //System.Diagnostics.Debugger.Break();
            return value;
        }

        public object ConvertBack(object value, Type targetType,
               object parameter, CultureInfo culture)
        {
            //System.Diagnostics.Debugger.Break();
            return value;
        }
    }
}
